package com.lzw.security.service;

import com.lzw.security.entity.*;
import com.lzw.security.exception.MysqlUpdateException;
import com.lzw.security.exception.TidcNulException;
import com.lzw.security.ov.UserOV;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @author ：冯涛滔
 * @date ：Created in 2020-3-28 22:46
 * @description：
 * @modified By：
 * @version:
 */
public interface UpdateService {
    UserOV<Integer> updateCategory(Category category) throws TidcNulException, MysqlUpdateException;
    UserOV<Integer> updateCommodity(Commodity commodity) throws TidcNulException;
    UserOV<Integer> updateSeckill(Seckill seckill);
    UserOV<Integer> updateDosing(Dosing dosing);
    UserOV<Integer> updateAccessory(Accessory accessory);
}
